package com.xueyi.aixihu.entity.po;

import java.util.ArrayList;
import java.util.List;

public class DtPointSetExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DtPointSetExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRegPointIsNull() {
            addCriterion("reg_point is null");
            return (Criteria) this;
        }

        public Criteria andRegPointIsNotNull() {
            addCriterion("reg_point is not null");
            return (Criteria) this;
        }

        public Criteria andRegPointEqualTo(Integer value) {
            addCriterion("reg_point =", value, "regPoint");
            return (Criteria) this;
        }

        public Criteria andRegPointNotEqualTo(Integer value) {
            addCriterion("reg_point <>", value, "regPoint");
            return (Criteria) this;
        }

        public Criteria andRegPointGreaterThan(Integer value) {
            addCriterion("reg_point >", value, "regPoint");
            return (Criteria) this;
        }

        public Criteria andRegPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("reg_point >=", value, "regPoint");
            return (Criteria) this;
        }

        public Criteria andRegPointLessThan(Integer value) {
            addCriterion("reg_point <", value, "regPoint");
            return (Criteria) this;
        }

        public Criteria andRegPointLessThanOrEqualTo(Integer value) {
            addCriterion("reg_point <=", value, "regPoint");
            return (Criteria) this;
        }

        public Criteria andRegPointIn(List<Integer> values) {
            addCriterion("reg_point in", values, "regPoint");
            return (Criteria) this;
        }

        public Criteria andRegPointNotIn(List<Integer> values) {
            addCriterion("reg_point not in", values, "regPoint");
            return (Criteria) this;
        }

        public Criteria andRegPointBetween(Integer value1, Integer value2) {
            addCriterion("reg_point between", value1, value2, "regPoint");
            return (Criteria) this;
        }

        public Criteria andRegPointNotBetween(Integer value1, Integer value2) {
            addCriterion("reg_point not between", value1, value2, "regPoint");
            return (Criteria) this;
        }

        public Criteria andRenwuPointIsNull() {
            addCriterion("renwu_point is null");
            return (Criteria) this;
        }

        public Criteria andRenwuPointIsNotNull() {
            addCriterion("renwu_point is not null");
            return (Criteria) this;
        }

        public Criteria andRenwuPointEqualTo(Integer value) {
            addCriterion("renwu_point =", value, "renwuPoint");
            return (Criteria) this;
        }

        public Criteria andRenwuPointNotEqualTo(Integer value) {
            addCriterion("renwu_point <>", value, "renwuPoint");
            return (Criteria) this;
        }

        public Criteria andRenwuPointGreaterThan(Integer value) {
            addCriterion("renwu_point >", value, "renwuPoint");
            return (Criteria) this;
        }

        public Criteria andRenwuPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("renwu_point >=", value, "renwuPoint");
            return (Criteria) this;
        }

        public Criteria andRenwuPointLessThan(Integer value) {
            addCriterion("renwu_point <", value, "renwuPoint");
            return (Criteria) this;
        }

        public Criteria andRenwuPointLessThanOrEqualTo(Integer value) {
            addCriterion("renwu_point <=", value, "renwuPoint");
            return (Criteria) this;
        }

        public Criteria andRenwuPointIn(List<Integer> values) {
            addCriterion("renwu_point in", values, "renwuPoint");
            return (Criteria) this;
        }

        public Criteria andRenwuPointNotIn(List<Integer> values) {
            addCriterion("renwu_point not in", values, "renwuPoint");
            return (Criteria) this;
        }

        public Criteria andRenwuPointBetween(Integer value1, Integer value2) {
            addCriterion("renwu_point between", value1, value2, "renwuPoint");
            return (Criteria) this;
        }

        public Criteria andRenwuPointNotBetween(Integer value1, Integer value2) {
            addCriterion("renwu_point not between", value1, value2, "renwuPoint");
            return (Criteria) this;
        }

        public Criteria andRenwuCountIsNull() {
            addCriterion("renwu_count is null");
            return (Criteria) this;
        }

        public Criteria andRenwuCountIsNotNull() {
            addCriterion("renwu_count is not null");
            return (Criteria) this;
        }

        public Criteria andRenwuCountEqualTo(Integer value) {
            addCriterion("renwu_count =", value, "renwuCount");
            return (Criteria) this;
        }

        public Criteria andRenwuCountNotEqualTo(Integer value) {
            addCriterion("renwu_count <>", value, "renwuCount");
            return (Criteria) this;
        }

        public Criteria andRenwuCountGreaterThan(Integer value) {
            addCriterion("renwu_count >", value, "renwuCount");
            return (Criteria) this;
        }

        public Criteria andRenwuCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("renwu_count >=", value, "renwuCount");
            return (Criteria) this;
        }

        public Criteria andRenwuCountLessThan(Integer value) {
            addCriterion("renwu_count <", value, "renwuCount");
            return (Criteria) this;
        }

        public Criteria andRenwuCountLessThanOrEqualTo(Integer value) {
            addCriterion("renwu_count <=", value, "renwuCount");
            return (Criteria) this;
        }

        public Criteria andRenwuCountIn(List<Integer> values) {
            addCriterion("renwu_count in", values, "renwuCount");
            return (Criteria) this;
        }

        public Criteria andRenwuCountNotIn(List<Integer> values) {
            addCriterion("renwu_count not in", values, "renwuCount");
            return (Criteria) this;
        }

        public Criteria andRenwuCountBetween(Integer value1, Integer value2) {
            addCriterion("renwu_count between", value1, value2, "renwuCount");
            return (Criteria) this;
        }

        public Criteria andRenwuCountNotBetween(Integer value1, Integer value2) {
            addCriterion("renwu_count not between", value1, value2, "renwuCount");
            return (Criteria) this;
        }

        public Criteria andFhPointIsNull() {
            addCriterion("fh_point is null");
            return (Criteria) this;
        }

        public Criteria andFhPointIsNotNull() {
            addCriterion("fh_point is not null");
            return (Criteria) this;
        }

        public Criteria andFhPointEqualTo(Integer value) {
            addCriterion("fh_point =", value, "fhPoint");
            return (Criteria) this;
        }

        public Criteria andFhPointNotEqualTo(Integer value) {
            addCriterion("fh_point <>", value, "fhPoint");
            return (Criteria) this;
        }

        public Criteria andFhPointGreaterThan(Integer value) {
            addCriterion("fh_point >", value, "fhPoint");
            return (Criteria) this;
        }

        public Criteria andFhPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("fh_point >=", value, "fhPoint");
            return (Criteria) this;
        }

        public Criteria andFhPointLessThan(Integer value) {
            addCriterion("fh_point <", value, "fhPoint");
            return (Criteria) this;
        }

        public Criteria andFhPointLessThanOrEqualTo(Integer value) {
            addCriterion("fh_point <=", value, "fhPoint");
            return (Criteria) this;
        }

        public Criteria andFhPointIn(List<Integer> values) {
            addCriterion("fh_point in", values, "fhPoint");
            return (Criteria) this;
        }

        public Criteria andFhPointNotIn(List<Integer> values) {
            addCriterion("fh_point not in", values, "fhPoint");
            return (Criteria) this;
        }

        public Criteria andFhPointBetween(Integer value1, Integer value2) {
            addCriterion("fh_point between", value1, value2, "fhPoint");
            return (Criteria) this;
        }

        public Criteria andFhPointNotBetween(Integer value1, Integer value2) {
            addCriterion("fh_point not between", value1, value2, "fhPoint");
            return (Criteria) this;
        }

        public Criteria andSignPointIsNull() {
            addCriterion("sign_point is null");
            return (Criteria) this;
        }

        public Criteria andSignPointIsNotNull() {
            addCriterion("sign_point is not null");
            return (Criteria) this;
        }

        public Criteria andSignPointEqualTo(Integer value) {
            addCriterion("sign_point =", value, "signPoint");
            return (Criteria) this;
        }

        public Criteria andSignPointNotEqualTo(Integer value) {
            addCriterion("sign_point <>", value, "signPoint");
            return (Criteria) this;
        }

        public Criteria andSignPointGreaterThan(Integer value) {
            addCriterion("sign_point >", value, "signPoint");
            return (Criteria) this;
        }

        public Criteria andSignPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("sign_point >=", value, "signPoint");
            return (Criteria) this;
        }

        public Criteria andSignPointLessThan(Integer value) {
            addCriterion("sign_point <", value, "signPoint");
            return (Criteria) this;
        }

        public Criteria andSignPointLessThanOrEqualTo(Integer value) {
            addCriterion("sign_point <=", value, "signPoint");
            return (Criteria) this;
        }

        public Criteria andSignPointIn(List<Integer> values) {
            addCriterion("sign_point in", values, "signPoint");
            return (Criteria) this;
        }

        public Criteria andSignPointNotIn(List<Integer> values) {
            addCriterion("sign_point not in", values, "signPoint");
            return (Criteria) this;
        }

        public Criteria andSignPointBetween(Integer value1, Integer value2) {
            addCriterion("sign_point between", value1, value2, "signPoint");
            return (Criteria) this;
        }

        public Criteria andSignPointNotBetween(Integer value1, Integer value2) {
            addCriterion("sign_point not between", value1, value2, "signPoint");
            return (Criteria) this;
        }

        public Criteria andDayPointIsNull() {
            addCriterion("day_point is null");
            return (Criteria) this;
        }

        public Criteria andDayPointIsNotNull() {
            addCriterion("day_point is not null");
            return (Criteria) this;
        }

        public Criteria andDayPointEqualTo(Integer value) {
            addCriterion("day_point =", value, "dayPoint");
            return (Criteria) this;
        }

        public Criteria andDayPointNotEqualTo(Integer value) {
            addCriterion("day_point <>", value, "dayPoint");
            return (Criteria) this;
        }

        public Criteria andDayPointGreaterThan(Integer value) {
            addCriterion("day_point >", value, "dayPoint");
            return (Criteria) this;
        }

        public Criteria andDayPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("day_point >=", value, "dayPoint");
            return (Criteria) this;
        }

        public Criteria andDayPointLessThan(Integer value) {
            addCriterion("day_point <", value, "dayPoint");
            return (Criteria) this;
        }

        public Criteria andDayPointLessThanOrEqualTo(Integer value) {
            addCriterion("day_point <=", value, "dayPoint");
            return (Criteria) this;
        }

        public Criteria andDayPointIn(List<Integer> values) {
            addCriterion("day_point in", values, "dayPoint");
            return (Criteria) this;
        }

        public Criteria andDayPointNotIn(List<Integer> values) {
            addCriterion("day_point not in", values, "dayPoint");
            return (Criteria) this;
        }

        public Criteria andDayPointBetween(Integer value1, Integer value2) {
            addCriterion("day_point between", value1, value2, "dayPoint");
            return (Criteria) this;
        }

        public Criteria andDayPointNotBetween(Integer value1, Integer value2) {
            addCriterion("day_point not between", value1, value2, "dayPoint");
            return (Criteria) this;
        }

        public Criteria andWwcPointIsNull() {
            addCriterion("wwc_point is null");
            return (Criteria) this;
        }

        public Criteria andWwcPointIsNotNull() {
            addCriterion("wwc_point is not null");
            return (Criteria) this;
        }

        public Criteria andWwcPointEqualTo(Integer value) {
            addCriterion("wwc_point =", value, "wwcPoint");
            return (Criteria) this;
        }

        public Criteria andWwcPointNotEqualTo(Integer value) {
            addCriterion("wwc_point <>", value, "wwcPoint");
            return (Criteria) this;
        }

        public Criteria andWwcPointGreaterThan(Integer value) {
            addCriterion("wwc_point >", value, "wwcPoint");
            return (Criteria) this;
        }

        public Criteria andWwcPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("wwc_point >=", value, "wwcPoint");
            return (Criteria) this;
        }

        public Criteria andWwcPointLessThan(Integer value) {
            addCriterion("wwc_point <", value, "wwcPoint");
            return (Criteria) this;
        }

        public Criteria andWwcPointLessThanOrEqualTo(Integer value) {
            addCriterion("wwc_point <=", value, "wwcPoint");
            return (Criteria) this;
        }

        public Criteria andWwcPointIn(List<Integer> values) {
            addCriterion("wwc_point in", values, "wwcPoint");
            return (Criteria) this;
        }

        public Criteria andWwcPointNotIn(List<Integer> values) {
            addCriterion("wwc_point not in", values, "wwcPoint");
            return (Criteria) this;
        }

        public Criteria andWwcPointBetween(Integer value1, Integer value2) {
            addCriterion("wwc_point between", value1, value2, "wwcPoint");
            return (Criteria) this;
        }

        public Criteria andWwcPointNotBetween(Integer value1, Integer value2) {
            addCriterion("wwc_point not between", value1, value2, "wwcPoint");
            return (Criteria) this;
        }

        public Criteria andWayqPointIsNull() {
            addCriterion("wayq_point is null");
            return (Criteria) this;
        }

        public Criteria andWayqPointIsNotNull() {
            addCriterion("wayq_point is not null");
            return (Criteria) this;
        }

        public Criteria andWayqPointEqualTo(Integer value) {
            addCriterion("wayq_point =", value, "wayqPoint");
            return (Criteria) this;
        }

        public Criteria andWayqPointNotEqualTo(Integer value) {
            addCriterion("wayq_point <>", value, "wayqPoint");
            return (Criteria) this;
        }

        public Criteria andWayqPointGreaterThan(Integer value) {
            addCriterion("wayq_point >", value, "wayqPoint");
            return (Criteria) this;
        }

        public Criteria andWayqPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("wayq_point >=", value, "wayqPoint");
            return (Criteria) this;
        }

        public Criteria andWayqPointLessThan(Integer value) {
            addCriterion("wayq_point <", value, "wayqPoint");
            return (Criteria) this;
        }

        public Criteria andWayqPointLessThanOrEqualTo(Integer value) {
            addCriterion("wayq_point <=", value, "wayqPoint");
            return (Criteria) this;
        }

        public Criteria andWayqPointIn(List<Integer> values) {
            addCriterion("wayq_point in", values, "wayqPoint");
            return (Criteria) this;
        }

        public Criteria andWayqPointNotIn(List<Integer> values) {
            addCriterion("wayq_point not in", values, "wayqPoint");
            return (Criteria) this;
        }

        public Criteria andWayqPointBetween(Integer value1, Integer value2) {
            addCriterion("wayq_point between", value1, value2, "wayqPoint");
            return (Criteria) this;
        }

        public Criteria andWayqPointNotBetween(Integer value1, Integer value2) {
            addCriterion("wayq_point not between", value1, value2, "wayqPoint");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}